/**
 * 
 */
package org.t2.backstage.module.giftcode.vo;

import java.util.List;

import sh.t2.share.module.mail.MailAttachment;

/**
 * @author YY
 */
public class GiftCodeVo {
	private long id;
	private String name;
	private String code;
	private int type;
	private List<MailAttachment> rewards;
	private int num;
	private String channel;
	private String server;
	private long expireTime;
	private boolean usable;
	private long userId;
	private String userName;
	private long useUserId;
	private String useUserName;
	private long channelId;
	private long serverUid;
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	public int getNum() {
		return num;
	}
	public void setNum(int num) {
		this.num = num;
	}
	public String getChannel() {
		return channel;
	}
	public void setChannel(String channel) {
		this.channel = channel;
	}
	public String getServer() {
		return server;
	}
	public void setServer(String server) {
		this.server = server;
	}
	public boolean isUsable() {
		return usable;
	}
	public void setUsable(boolean usable) {
		this.usable = usable;
	}
	public long getUserId() {
		return userId;
	}
	public void setUserId(long userId) {
		this.userId = userId;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public long getUseUserId() {
		return useUserId;
	}
	public void setUseUserId(long useUserId) {
		this.useUserId = useUserId;
	}
	public String getUseUserName() {
		return useUserName;
	}
	public void setUseUserName(String useUserName) {
		this.useUserName = useUserName;
	}
	public long getChannelId() {
		return channelId;
	}
	public void setChannelId(long channelId) {
		this.channelId = channelId;
	}
	public long getServerUid() {
		return serverUid;
	}
	public void setServerUid(long serverUid) {
		this.serverUid = serverUid;
	}
	public List<MailAttachment> getRewards() {
		return rewards;
	}
	public void setRewards(List<MailAttachment> rewards) {
		this.rewards = rewards;
	}
	public long getExpireTime() {
		return expireTime;
	}
	public void setExpireTime(long expireTime) {
		this.expireTime = expireTime;
	}
}
